home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The CICA Windows Explosion!
/
The CICA Windows Explosion! - Disc 2.iso
/
programr
/
wtj009.zip
/
CPP_DLL.ZIP
/
HELLO.CPP
< prev
next >
Wrap
C/C++ Source or Header
|
1992-08-04
|
342b
|
19 lines
// hello.cpp RHS 7/15/92
#include<windows.h>
LPSTR wintitle = "HELLO";
LPSTR winmessage ="Hello, world!";
void FAR PASCAL HelloMessage(LPCSTR wintitle)
{
MessageBox(NULL,winmessage,wintitle,MB_OK);
}
int PASCAL WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
{
HelloMessage(wintitle);
return 0;
}